﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QLTV.UserControl
{
    public partial class ucHoChieu : DevExpress.XtraEditors.XtraUserControl
    {

        public ucHoChieu()
        {
            InitializeComponent();
        }
        public bool isNew { get; set; }
        private void tblImmigrationCrewBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.tblImmigrationCrewBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.dsCrew);

        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            ((PopupContainerControl)(this.Parent)).Hide();
        }
    }
}
